/**   
* @Title: PayBillDetailServiceImpl.java 
* @Package cn.kxm.service.impl 
* @Description: TODO(用一句话描述该文件做什么) 
* @author 初雨泽
* @date 2018年9月29日 下午1:35:33   
*/
package cn.kxm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.kxm.dao.PayBillDetailDao;
import cn.kxm.pojo.PayBillDetail;
import cn.kxm.service.PayBillDetailService;

/** 
* @ClassName: PayBillDetailServiceImpl 
* @Description: TODO(这里用一句话描述这个类的作用) 
* @author 初雨泽
* @date 2018年9月29日 下午1:35:33 
*  
*/
@Service
public class PayBillDetailServiceImpl implements PayBillDetailService{
	@Autowired
	PayBillDetailDao payBillDetail;
	/* (non-Javadoc)
	 * @see cn.kxm.service.PayBillDetailService#findPayBillDetail(java.lang.String)
	 */
	@Override
	public List<PayBillDetail> findPayBillDetail(String payCode) {
		return payBillDetail.findPayBillDetail(payCode);
	}
	/* (non-Javadoc)
	 * @see cn.kxm.service.PayBillDetailService#deleteDetailListByPayBill(java.lang.String)
	 */
	@Override
	public void deleteDetailListByPayBill(String payCode) {
		payBillDetail.deleteDetailListByPayBill(payCode);
	}
	/* (non-Javadoc)
	 * @see cn.kxm.service.PayBillDetailService#addDetailListByPayBill(java.util.List)
	 */
	@Override
	public void addDetailListByPayBill(List<PayBillDetail> list,String payCode) {
		payBillDetail.addDetailListByPayBill(list,payCode);
	}
	/* (non-Javadoc)
	 * @see cn.kxm.service.PayBillDetailService#addRealMoneyByPayBillDetail(java.lang.String)
	 */
	@Override
	public void addRealMoneyByPayBillDetail(Integer billCode) {
		payBillDetail.addRealMoneyByPayBillDetail(billCode);
		System.out.println("addRealMoneyByPayBillDetail");
	}
	/* (non-Javadoc)
	 * @see cn.kxm.service.PayBillDetailService#deleteRealMoneyByPayBillDetail(java.lang.String)
	 */
	@Override
	public void deleteRealMoneyByPayBillDetail(Integer billCode) {
		payBillDetail.deleteRealMoneyByPayBillDetail(billCode);
		System.out.println("deleteRealMoneyByPayBillDetail");
	}

}
